package module;

import java.util.concurrent.TimeUnit;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.openqa.selenium.safari.SafariDriver;

import sms.automation.common.Constant;




public class ExtendTestSuite { 
	 WebDriver driver;
	public enum TestResult
	{
		
	Pass,Fail,Warning,Note	
		
	} 
	private int timetowaitfindElementmin=2;
	private int timetowaitfindelemantmax=14;
	
		public void initDriver (){
			
		if("Chrome".equals(Constant.driverPlatform)){
			 System.setProperty("webdriver.chrome.driver",
					Constant.CHROMEDRIVER_PATH);
			 //driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
			driver=new ChromeDriver();
	
		}	
 else {
	 
	if("Safari".equals(Constant.driver)){
		driver=new SafariDriver();
		
	}
}			
		}
	

}
